package com.colorlight.cloud.common.constants;

import com.google.gson.Gson;

/**
 * @author Demon
 * @date 20/1/2024  下午5:19
 */
public class CommonConstants {
	public static final Gson GSON = new Gson();
	/**
	 * 保证每次的root不同、每次获取当前时间
	 */
	public static final String CURRENT_TIME = String.valueOf(System.currentTimeMillis());
	
	public static final String CONNECTOR1 = "|";
	public static final String CONNECTOR2 = "=";
	public static final String CONNECTOR3 = ",";
	public static final String CONNECTOR4 = "-";
	public static final String CONNECTOR5 = "_";
	public static final String CONNECTOR6 = "/";
	public static final String CONNECTOR7 = "#";
	public static final String SECURE_MODE = "securemode";
	public static final String SECURE_MODE_VALUE = "3";
	public static final String SIGN_METHOD = "signmethod";
	public static final String TIMESTAMP = "timestamp";
	public static final String CLIENT_ID = "clientId";
	public static final String DEVICE_NAME = "deviceName";
	public static final String PRODUCT_KEY = "productKey";
	public static final String HMAC_SHA1_ALGORITHM = "hmacsha1";
	public static final String TOPIC_DOWN = "down";
	/** 消息类型 */
	public static final String NAME_STRUCT = "nameStruct";
	
	
}
